package algo;

import java.io.Serializable;

public class Message implements Serializable{


	private static final long serialVersionUID = 3715700813890373985L;


	public TypeDemandeEvenement getTypeEvenement() {
		return typeEvenement;
	}

	public void setTypeEvenement(TypeDemandeEvenement typeEvenement) {
		this.typeEvenement = typeEvenement;
	}

	TypeDemandeMessage typeDemande;
	TypeDemandeEvenement typeEvenement;
	
	long est;
	
	int numMsg;


	public int getNumMsg() {
		return numMsg;
	}

	public void setNumMsg(int numMsg) {
		this.numMsg = numMsg;
	}

	public TypeDemandeMessage getTypeDemande() {
		return typeDemande;
	}

	public void setTypeDemande(TypeDemandeMessage typeDemande) {
		this.typeDemande = typeDemande;
	}

	public long getEst() {
		return est;
	}

	public void setEst(long est) {
		this.est = est;
	}

	public String toString() {
		
		return "Message : numMsg = " + numMsg + " typeDemande = " + typeDemande + " est = " + est + " typeEvenement = " + typeEvenement;
	}
}
